import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
const home = (r) => require.ensure([], () => r(require("@/views/home/index")), "home")

export default new Router({
    mode: 'history',
    // base: '/',
    routes: [
        {
            path: '/childHome',
            name: 'home',
            component: home,
        }
    ]

})